package com.zh.streamdemo.demo1;

import java.util.stream.Stream;

public class DemoCount {

    public static void main(String[] args) {
        long count = Stream.of("Stream1", "Stream2", "Stream3", "Stream4", "Stream5").count();
        System.out.println(count);
    }
}
